<?php

namespace app\api\model\v1;

use think\Model;

class Shopwithdraw extends Model
{


    

    // 表名
    protected $name = 'shop_withdraw';
    
    // 自动写入时间戳字段
    protected $autoWriteTimestamp = 'int';

    // 定义时间戳字段名
    protected $createTime = 'createtime';
    protected $updateTime = 'updatetime';



    public function getcreatetimeAttr($value, $data)
    {
      $createtime = date('Y-m-d H:i:s',$value);
        return $createtime;
    }



}

